package cn.hu.org.mapper;

import cn.hu.basic.domain.vo.ShopStatisticsVo;
import cn.hu.org.domain.Shop;
import cn.hu.basic.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Hu
 * @since 2022-12-17
 */
@Repository
public interface ShopMapper extends BaseMapper<Shop> {
    Shop findByName(String name);
    List<ShopStatisticsVo> statistics();

    List<Shop> findAllAvailableShops();
}
